button {
  margin: 0 20px;
}

/*use-state样式*/
.use-state {
  > button {
    margin-right: 20px;
  }
}

.son-to-fat {
  > button {
    margin: 0 20px;
    background-color: pink;
  }
}

/*UseSingleRedux---单独使用redux的样式*/
.redux-container {
  width: 1200px;
  height: 300px;
  margin: 0 auto;
  background-color: pink;
  text-align: center;

  > button {
    margin: 10px;
  }
}

/*UsingCallback的使用*/
.input-container {
  border: none;
  width: 150px;
  height: 40px;
}

.callback-container {
  .son {
    text-align: center;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;

    > button {
      border: none;
      width: 40px;
      height: 40px;
      margin: 0;
      padding: 5px;
      /*左上 右上 右下 左下，圆角*/
      border-radius: 0 5px 5px 0;
      background-color: black;
      color: white;
    }

    .count {
      margin: 0 20px;
    }
  }


}

/*Snapshot样式*/
.snapshot {
  .news-list {
    width: 200px;
    height: 200px;
    border: 5px solid #cccccc;
    /*等价于overflow: auto;*/
    overflow: scroll;

    li {
      list-style: none;
      font-size: 14px;
    }
  }
}